App({
  onLaunch() {
    console.log('Chinese Chess Mini Program Launched');
    // 初始化全局数据
    this.globalData = {
      userInfo: null,
      gameSettings: {
        soundEnabled: true,
        showValidMoves: true
      }
    };
  },
  
  globalData: {
    userInfo: null,
    gameSettings: {
      soundEnabled: true,
      showValidMoves: true
    }
  }
})